
 package com.ami.kvm.jviewer.gui;
 
 import com.ami.kvm.jviewer.Debug;
 import java.awt.Container;
 import java.awt.Dimension;
 import java.awt.GridLayout;
 import javax.swing.Box;
 import javax.swing.BoxLayout;
 import javax.swing.JDialog;
 import javax.swing.JFrame;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 public class AutoBWDlg
   extends JDialog
 {
   private static final long serialVersionUID = 1L;
   JLabel m_msg;
   public static final int WIDTH = 300;
   public static final int HEIGHT = 100;
   
   public AutoBWDlg(JFrame paramJFrame)
   {
     super(paramJFrame, LocaleStrings.getString("9_1_BW") + "...", false);
     
     this.m_msg = new JLabel(LocaleStrings.getString("9_1_BW") + "." + LocaleStrings.getString("9_2_BW"));
     JPanel localJPanel = new JPanel();
     localJPanel.setLayout(new BoxLayout(localJPanel, 0));
     localJPanel.add(Box.createRigidArea(new Dimension(20, 0)));
     localJPanel.add(this.m_msg);
     
     Container localContainer = getContentPane();
     localContainer.setLayout(new GridLayout(1, 1));
     localContainer.add(localJPanel);
     
     setSize(300, 100);
     setLocation(JViewerApp.getInstance().getPopUpWindowPosition(300, 100));
     setLocationRelativeTo(null);
   }
   
 
 
 
 
 
   public void setMessage(String paramString)
   {
     this.m_msg.setText(paramString);
   }
   
 
 
   public void done()
   {
     try
     {
       Thread.sleep(1000L);
       this.m_msg.setText(LocaleStrings.getString("9_3_BW") + ".");
       Thread.sleep(1000L);
       this.m_msg.setText(LocaleStrings.getString("9_4_BW") + ".");
       Thread.sleep(200L);
     }
     catch (Exception localException) {
       Debug.out.println(localException);
     }
     dispose();
   }
 }


/* Location:              D:\Users\tianlin\Downloads\JViewer.jar!\com\ami\kvm\jviewer\gui\AutoBWDlg.class
 * Java compiler version: 5 (49.0)
 * JD-Core Version:       0.7.1
 */